package com.example.gitpart03;

public class Product {
    private String name;      // 商品名称
    private String price;     // 商品价格
    private int imageResId;
    private String PriceEnd;
    // 商品价格后缀

    public Product(String name, String price, int imageResId, String PriceEnd) {
        this.name = name;
        this.price = price;
        this.imageResId = imageResId;
        this.PriceEnd = PriceEnd;
    }

    // Getter 方法
    public String getName() { return name; }
    public String getPrice() { return price; }
    public int getImageResId() { return imageResId; }
    public String getPriceEnd() { return PriceEnd; }
}